import sys,os

if len(sys.argv)<2:
    print 'Usage: python error2lst.py logFile'
    exit(1)

fi=open(sys.argv[1],'r')
for line in fi:
    line=line.strip()
    if len(line)<1:
    	continue
    if 'Table \'' in line:
    	name=line.split('\'')[1].split('.')[1]
    	print name
fi.close()
